package com.wang.springbootinit.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wang.springbootinit.model.dto.teacher.TeacherQueryRequest;
import com.wang.springbootinit.model.entity.Teacher;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * 教师 Mapper
 */
public interface TeacherMapper extends BaseMapper<Teacher> {
    /**
     * 分页查询教师
     */
    Page<Teacher> getTeacherPage(Page<Teacher> page, TeacherQueryRequest teacherQueryRequest);
}
